var r=3; pi=3.14;
r=parseFloat(r);
var c = 2*pi*r;
var s =pi*r*r;
console.log(c);
console.log(s);